package collections;

import java.util.HashMap;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: leep
 * Date: 14-10-23
 * Time: 下午4:27
 * To change this template use File | Settings | File Templates.
 */
public class JavaMap {
	public static void main(String[] args) {
		Map map = new HashMap();
		map.put("jj", "jjk");
		map.put("jr", "jjr");
		for (Object o : map.values()) {
			System.out.println(o);
		}
		for (Object o : map.keySet()) {
			System.out.println(o);
		}
		System.out.println(map.containsKey("jk"));
		System.out.println(map.containsValue("jkr"));
	}
}
